<div ng-controller="ChangePwdCtrl as vm">
    <h3 class="page-title">Login successfully, please change your password</h3>
    <div class="well">
       <form ng-submit="vm.processForm()">
        <div class="form-group">
            <label>Holidex Code</label>
            <input type="text" class="form-control" ng-disabled='true' ng-model="vm.user.code" />
        </div>
        <div class="form-group">
            <label>Current Password</label>
            <input type="password" class="form-control" ng-model="vm.user.oldpwd" />
        </div>
        <div class="form-group">
            <label>New Password</label>
            <input type="password" class="form-control" ng-model="vm.user.newpwd" />
        </div>
        <div class="form-group">
            <label>Confirm New Password</label>
            <input type="password" class="form-control" ng-model="vm.user.newpwd2" />
        </div>
          <button type="submit" class="btn btn-danger">Submit</button>
        <p class="text-danger">{{vm.msg}}</p>
        </form>
    </div>
</div>
